package com.itboye.jinpuyiyuan.bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by Administrator on 2017/12/13 0013.
 */

public class TestServerOptionBean implements Serializable{
    private String department;//科室
    private ArrayList<Child> list;

    public ArrayList<Child> getList() {
        return list;
    }

    public void setList(ArrayList<Child> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "TestServerOptionBean{" +
                "department='" + department + '\'' +
                ", list=" + list +
                '}';
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }



    public static class Child implements Serializable{
        private String name;
        private int price;
        private int payNum;

        public int getPayNum() {
            return payNum;
        }

        public void setPayNum(int payNum) {
            this.payNum = payNum;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        @Override
        public String toString() {
            return "Child{" +
                    "name='" + name + '\'' +
                    ", price=" + price +
                    '}';
        }
    }
}
